#pragma once
#include <iostream>
#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include "Database.h"
class PictureBoxView
{
public:
	PictureBoxView();
	PictureBoxView(HWND hwnd,int width , int height);
	bool	Initialize(HWND hwnd,int width , int height);
	void	Render();
	void	RenderLSMesh();
	void	Zoom(double zoom);
	
private:
	//for initialize
	bool	SetupPixelFormat(HDC hdc);
	void	InitializeGL(int width , int height);
private:
	HDC		m_hDC;
	HGLRC		m_hRC;
	HWND		m_hWnd;
};

